package com.star.star.enums;

import com.star.common.base.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 作品来源
 *
 * @author yangzj
 */
@AllArgsConstructor
@Getter
public enum ArtSource implements BaseEnum<Integer> {

    /**
     * 0平台 1接口
     */
    DEFAULT(0,"平台"),
    INTERFACE(1,"接口");

    private final Integer code;
    private final String name;


    @Override
    public String getTypeCode() {
        return "art_source";
    }

    @Override
    public String getTypeName() {
        return "作品来源";
    }
}
